﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace Dotmim.Sync.Serialization
{

    //public interface ILocalSerializerFactory
    //{
    //    string Key { get; }

    //    ILocalSerializer GetLocalSerializer();
    //}
    //public interface ILocalSerializer
    //{
    //    Task CloseFileAsync(string path, SyncTable shemaTable);
    //    Task OpenFileAsync(string path, SyncTable shemaTable);
    //    Task WriteRowToFileAsync(SyncRow row, SyncTable shemaTable);
    //    Task<long> GetCurrentFileSizeAsync();
    //    IEnumerable<SyncRow> ReadRowsFromFile(string path, SyncTable shemaTable);
    //    string Extension { get; }

    //    void OnWritingRow(Func<SyncTable, object[], string> func);

    //    void OnReadingRow(Func<SyncTable, string, object[]> func);

    //}
}
